package com.aggregate.pay.pingan.bean;

import com.aggregate.pay.pingan.enums.CheckStatus;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 商户列表接口data参数对象，需要转换成JSON并加密赋给<code>CommonData</code>对象的<code>data</code>属性
 * @author Moyq5
 * @date 2017年6月25日
 */
public class MerchListData {

	/**
	 * 分页编号，默认1，9
	 */
	private Integer page;
	
	/**
	 * 每页返回的数据条数，默认10，最多100
	 */
	@JsonProperty("pagesize")
	private Integer pageSize;
	
	/**
	 * 商户编号，30
	 */
	@JsonProperty("mct_no")
	private String merchNo;
	
	/**
	 * 分类编号，3
	 */
	@JsonProperty("cls_id")
	private String catId;
	
	/**
	 * 商户状态，1
	 */
	private CheckStatus status;
	
	/**
	 * 城市编码，6
	 */
	@JsonProperty("cityid")
	private String cityId;
	
	/**
	 * 商户名称关键字，50
	 */
	private String keyword;
	
	/**
	 * 外部商户主键编号，64
	 */
	@JsonProperty("tra_id")
	private String merchId;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getMerchNo() {
		return merchNo;
	}

	public void setMerchNo(String merchNo) {
		this.merchNo = merchNo;
	}

	public String getCatId() {
		return catId;
	}

	public void setCatId(String catId) {
		this.catId = catId;
	}

	public CheckStatus getStatus() {
		return status;
	}

	public void setStatus(CheckStatus status) {
		this.status = status;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getMerchId() {
		return merchId;
	}

	public void setMerchId(String merchId) {
		this.merchId = merchId;
	}

	@Override
	public String toString() {
		return "MerchListData [page=" + page + ", pageSize=" + pageSize + ", merchNo=" + merchNo + ", catId=" + catId
				+ ", status=" + status + ", cityId=" + cityId + ", keyword=" + keyword + ", merchId=" + merchId + "]";
	}
	

}
